package com.ps.store;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ps.property.TOtherCollect;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

/**
 * @author gt
 * @类说明：
 * @date 2020/10/27 20:01
 */
@Mapper
public interface CollectStore extends BaseMapper<TOtherCollect> {
    /**
     * 根据id修改状态
     * @param collectId
     * @param status
     * @return
     */
    @Update("update t_other_collect set status = #{status} where collect_id=#{collectId}")
    int collectUpdateByStatus(int collectId, String status);
}
